package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * XXX
 *
 * @author : jamesfu
 * @date : 24/6/2019
 * @time : 4:43 PM
 */
@Component
@ConfigurationProperties(prefix = "spring.qa.datasource")
@Data
public class PrimaryDataSourceProperties {
    private String driverClassName;

    private String url;

    private String username;

    private String password;
}
